<template>
	<view>
		<u-navbar leftIconSize='0'  title="支付详情"   :placeholder="true" :border="true">
		</u-navbar>
		<view class="page">
			<view style="margin-top: 100rpx;">
				
				<u-icon name="checkmark-circle-fill" color="green" size="100px"></u-icon>
			</view>
			<view style="align-items: center;margin-top:40rpx;font-size: 40rpx;">
				付款成功
			</view>
			<view style="align-items: center;margin-top:40rpx;font-size: 40rpx;font-weight: 600;">
				￥{{charge}}
			</view>
			<view class="viewWidth but" style="margin-top: 60rpx;" @click="jump">
				返回首页
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				charge:{}
			}
		},
		onLoad(op) {
			this.charge=op.charge
		},
		methods: {
				jump(){
					uni.reLaunch({
						url:'/Home/index'
					})
				}
		}
	}
</script>

<style lang="scss" scoped>
	.page {
		display: flex;
		flex-direction: column;
		align-items: center;
		padding: 0 40rpx;
		box-sizing: border-box;
		>view {
			margin: 20rpx 0;
		}
	}

	.but {
		width: 70vw !important;
		border-radius: 100rpx;
		background-color: #ddd;
		text-align: center;
		padding: 20rpx;
		box-sizing: border-box;
	}
	

</style>